package qy.qyalgotrader.view.swing;

import javax.swing.*;

/**
 *
 */
public class ViewMainForm {

	public ViewMainForm() {

	}

	public static void main(String[] args) {

		JFrame frame = new JFrame("ViewMainForm");
		frame.setContentPane(new ViewMainForm().rootPanel);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}

	JPanel rootPanel;

	private JPanel cmdPanel;

	private JToolBar cmdBar;

	private JButton refreshButton;

	private JButton startButton;

	private JButton stopButton;

	private JPanel indexesTablePanel;

	private JScrollPane indexesTableScroll;

	private JTable indexesTable;

	private JPanel instrumentsTablePanel;

	private JScrollPane instrumentsTableScroll;

	private JTable instrumentsTable;

	public JButton getRefreshButton() {

		return refreshButton;
	}

	public JButton getStartButton() {

		return startButton;
	}

	public JButton getStopButton() {

		return stopButton;
	}

	public JTable getIndexesTable() {

		return indexesTable;
	}

	public JTable getInstrumentsTable() {

		return instrumentsTable;
	}
}
